WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway B

Total Complexity 79
Dependencies 27
Dependents 56
Total lines 734
Lines of code 350
Logical lines of code 181
Comment lines 235
Methods 17
Properties 21

Methods 17

Method Rating Maintainability Complexity Lines of code
process_payment()
D
26
31 159
__construct()
A
40 7 61
define_method_title()
S
57 6 18
define_method_description()
S
55 5 24
get_title()
S
60 5 14
init_form_fields()
S
55 4 19
is_pui_tab()
S
70 3 6
is_paypal_tab()
S
73 3 5
admin_options()
S
71 2 6
update_option()
S
65 2 9
process_refund()
S
67 2 7
is_connection_tab()
S
76 2 4
is_pay_later_tab()
S
76 2 4
is_credit_card_tab()
S
76 2 4
get_transaction_url()
S
75 1 4
needs_setup()
S
81 1 3
settings_renderer()
S
82 1 3